from django.urls import path
from project.interface import create, list, all, profile, update, delete
from project.interface.member import profile as member_profile, add as member_add, update as member_update, \
    delete as member_delete
from project.interface.technology import profile as technology_profile, add as technology_add, \
    update as technology_update, delete as technology_delete
from project.interface.role import list as role_list, profile as role_profile, add as role_add, \
    update as role_update, delete as role_delete
from project.interface.repository import profile as repository_profile, add as repository_add, \
    list as repository_list, update as repository_update, delete as repository_delete
from project.interface.document import profile as document_profile, add as document_add, \
    list as document_list, update as document_update, delete as document_delete
from project.interface.permission import list as permission_list


urlpatterns = [
    path('create', create.API.as_view()),
    path('list', list.API.as_view()),
    path('all', all.API.as_view()),
    path('profile', profile.API.as_view()),
    path('update', update.API.as_view()),
    path('delete', delete.API.as_view()),
    path('member/profile', member_profile.API.as_view()),
    path('member/add', member_add.API.as_view()),
    path('member/update', member_update.API.as_view()),
    path('member/delete', member_delete.API.as_view()),
    path('technology/profile', technology_profile.API.as_view()),
    path('technology/add', technology_add.API.as_view()),
    path('technology/update', technology_update.API.as_view()),
    path('technology/delete', technology_delete.API.as_view()),
    path('role/list', role_list.API.as_view()),
    path('role/profile', role_profile.API.as_view()),
    path('role/add', role_add.API.as_view()),
    path('role/update', role_update.API.as_view()),
    path('role/delete', role_delete.API.as_view()),
    path('repository/profile', repository_profile.API.as_view()),
    path('repository/add', repository_add.API.as_view()),
    path('repository/list', repository_list.API.as_view()),
    path('repository/update', repository_update.API.as_view()),
    path('repository/delete', repository_delete.API.as_view()),
    path('document/profile', document_profile.API.as_view()),
    path('document/add', document_add.API.as_view()),
    path('document/list', document_list.API.as_view()),
    path('document/update', document_update.API.as_view()),
    path('document/delete', document_delete.API.as_view()),
    path('permission/list', permission_list.API.as_view()),
]
